home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 44
/
Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso
/
Aminet
/
comm
/
misc
/
Sashi89.lha
/
Sashi89
/
sources
/
timer.h
< prev
Wrap
C/C++ Source or Header
|
2001-05-05
|
452b
|
26 lines
#include <exec/types.h>
#include <exec/io.h>
#include <exec/memory.h>
#include <devices/timer.h>
#include <proto/exec.h>
#include <proto/alib.h>
#include <proto/dos.h>
typedef struct
{
char created;
struct timerequest *TimerIO;
struct timeval tv;
struct MsgPort *timerport;
} Timer_Info;
inline void timer_delay(Timer_Info *ti,ULONG microsecs);
int timer_create( Timer_Info *ti);
void timer_delete(Timer_Info *ti);